﻿using PmpNetwork.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace PmpNetwork.ViewModels
{
    public class WikiAdminViewModel
    {
        public IList<WikiArticlePart> Articles { get; set; }
        public dynamic Pager { get; set; }
        public WikiSearchViewModel Search { get; set; }

        public WikiAdminViewModel()
        {
            Search = new WikiSearchViewModel();
        }
        public WikiAdminViewModel(IEnumerable<WikiArticlePart> articles, WikiSearchViewModel search, dynamic pager)
        {
            Articles = articles.ToArray();
            Search = search;
            Pager = pager;
        }
    }
}